#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stddef.h>
#define My_offsetof(s,m) ((size_t)&(((s*)0)->m))

struct A
{
	char i;
	int count;
};
int main()
{
	printf("%d",My_offsetof(struct A,count));
	return 0;
}